package com.wing.product.model.request;

import com.wing.product.model.entity.ProOutsourcingOrderProduct;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

/**
 * @Description: 添加委外订单
 * @Project: szgc
 * @Package: com.wing.product.model.request.ProOutsourcingOrderAddOrUpdateForm
 * @Date: 2025/02/21 09:45
 * @Author: heZhou
 * @Version: 1.0
 */
@Builder
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
public class ProOutsourcingOrderAddOrUpdateForm implements Serializable {

    /**
     * 订单id
     */
    private Long id;

    /**
     * 部门
     */
    private Integer departmentId;

    /**
     * 是否去料加工 1.是 2.否
     */
    private Boolean isOutSku;

    /**
     * 1. 待提交 2.待审核 3.待签收 4. 完成
     */
    private String status;

    /**
     * 供应商id
     */
    private Long supplierId;

    /**
     * 业务类型 1.整体委外 2.工序委外
     */
    private String type;

    /**
     * 预计开始时间
     */
    private LocalDateTime startTime;

    /**
     * 预计结束时间
     */
    private LocalDateTime endTime;

    /**
     * 产品
     */
    private List<ProOutsourcingOrderProduct> productList;

}
